package edu.mse.camel.client.core.session.event;

import edu.mse.camel.client.events.AbstractEvent;
import edu.mse.camel.client.events.EventIDs;

public class PBInitiationEvent extends AbstractEvent {

	private String modelName;
	private String diagramName;
	private String pbFile;
		
	private String whiteboardDiagramFile;
	
	private boolean isPopulate;
	private boolean isWhiteboard;
	private boolean isNewWhiteboard;
	private boolean shouldOpenPosterBoard = false;
	
	private String projectName;
	
	public PBInitiationEvent(String modelName, String diagramName, boolean isPopulate,
			boolean isWhiteboard, String projectName, String pbFile, String wbFile, 
			boolean isNewWhiteboard) {
		this.modelName = modelName;
		this.diagramName = diagramName;
		this.isPopulate = isPopulate;
		this.isWhiteboard = isWhiteboard;
		this.projectName = projectName;
		this.pbFile = pbFile;
		this.whiteboardDiagramFile = wbFile;
		this.isNewWhiteboard = isNewWhiteboard;
	}

	public String getModelName() {
		return modelName;
	}

	public String getDiagramName() {
		return diagramName;
	}

	public boolean isPopulate() {
		return isPopulate;
	}

	public boolean isWhiteboard() {
		return isWhiteboard;
	}

	public String getPbFile() {
		return pbFile;
	}

	public void setPbFile(String pbName) {
		this.pbFile = pbName;
	}

	public boolean isNewWhiteboard() {
		return isNewWhiteboard;
	}

	@Override
	public String getEventID() {
		return EventIDs.POSTERBOARD_INITIATION_EVENT;
	}

	public String getWhiteboardDiagramFile() {
		return whiteboardDiagramFile;
	}

	public void setWhiteboardDiagramFile(String whiteboardDiagramName) {
		this.whiteboardDiagramFile = whiteboardDiagramName;
	}

	public String getProjectName() {
		return projectName;
	}

	public boolean isShouldOpenPosterBoard() {
		return shouldOpenPosterBoard;
	}

	public void setShouldOpenPosterBoard(boolean shouldOpenPosterBoard) {
		this.shouldOpenPosterBoard = shouldOpenPosterBoard;
	}
	
}
